package com.yenlien.traceyun.business.entity;

import com.yenlien.traceyun.webase.entity.BaseIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-12-22
 * @description:入库
 **/

@Entity(name = "t_warehouse_in")
public class WarehouseIn extends BaseIdEntity {

    /**
     * 分包的批次,或者追溯码
     */
    @Column(name = "code", length = 30)
    private String code;


    /**
     * storageId
     */
    @Column(name = "storage_manage_id", length = 32)
    private String storageManageId;

    /**
     * 入库方式（0采购入库，1分包入库）
     */
    @Column(name = "in_type", length = 1)
    private String inType;

    /**
     * 入库类型 （0批次入库,1溯源入库）
     */
    @Column(name = "code_type", length = 1)
    private String codeType;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStorageManageId() {
        return storageManageId;
    }

    public void setStorageManageId(String storageManageId) {
        this.storageManageId = storageManageId;
    }

    public String getInType() {
        return inType;
    }

    public void setInType(String inType) {
        this.inType = inType;
    }

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
}
